const path = require('path');
const fs = require('fs');

const pathStr = path.join('/c','/d/a','../','/e');
console.log(pathStr);

fs.readFile(path.join(__dirname, './files/one.txt'),'utf-8', (err,data) => {
    if (err) {
        console.log(err);
        return;
    }
    console.log(data);
});